<template>
  <div style="">
    <!-- <el-divider></el-divider> -->
    <div style="text-align:center;font-size:20px">请选择考试科目</div>
     <div style="height:10px"></div>
     <el-checkbox-group v-model="form.courses" @change="handleCheckedCoruseChange">
      <el-checkbox v-for="course in courses" :label="course.text" :key="course.text"></el-checkbox>
    </el-checkbox-group>
    <div style="height:20px"></div>
    <el-button type="primary" style="width:100%" @click="assginTeacher2">确认</el-button>
  </div>
</template>
<script>
  import provinceCodeList from "../../utils/provinceCode";
  export default {
    components:{},
    data() {
      return {
        courses:null,
        provinceList: provinceCodeList,
        assginTeacherVisible2:false,
        form: {
          courses:[]
        }
      };
    },
    methods: {
      handleCheckedCoruseChange(val){
        console.log(val)
      },
    
    },
		mounted() {
      this.courses=this.$store.state.exampaper
		}
  }
</script>
<style  scoped>
.rectround {
  border-radius: 10px;
}
</style>